import React, { ReactNode } from 'react';
import { Layout } from 'antd';
import AppHeader from '@/componets/yingyong/AppHeader';
import SidebarMenu from '@/componets/yingyong/SidebarMenu';
import ComponentMarket from '@/componets/yingyong/ComponentMarket';
import '@/styles/AppLayout.scss';



const { Content, Footer } = Layout;

interface AppLayoutProps {
  children: ReactNode;
}

const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
  return (
    <Layout className="app-layout">
      <AppHeader />
      <Layout>
        <SidebarMenu />
          {children}
      </Layout>
    </Layout>
  );
};

export default AppLayout;
